package com.example.mbl.result.business;

import com.example.mbl.result.WebRestResult;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EventResult extends WebRestResult {
    private String eventid;

    private String eventtitle;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date eventdate;

    private String eventtype;

    private String eventtext;

    private String eventpic;

    private String reprintflag;

    private String address;

    private String flag;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date starttime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endtime;

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getEventid() {
        return eventid;
    }

    public void setEventid(String eventid) {
        this.eventid = eventid;
    }

    public String getEventtitle() {
        return eventtitle;
    }

    public void setEventtitle(String eventtitle) {
        this.eventtitle = eventtitle;
    }

    public Date getEventdate() {
        return eventdate;
    }

    public void setEventdate(Date eventdate) {
        this.eventdate = eventdate;
    }

    public String getEventtype() {
        return eventtype;
    }

    public void setEventtype(String eventtype) {
        this.eventtype = eventtype;
    }

    public String getEventtext() {
        return eventtext;
    }

    public void setEventtext(String eventtext) {
        this.eventtext = eventtext;
    }

    public String getEventpic() {
        return eventpic;
    }

    public void setEventpic(String eventpic) {
        this.eventpic = eventpic;
    }

    public String getReprintflag() {
        return reprintflag;
    }

    public void setReprintflag(String reprintflag) {
        this.reprintflag = reprintflag;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
